<extend name="Base/common"/>
<block name="header">
    <include file="Public/_nav"/>
    <link type="text/css" rel="stylesheet" href="__CSS__/wckc.css">
    <!-- <script type="text/javascript" src="__JS__/common.js"></script> -->
</block>


<block name="body">

      <!--   <include file="Public/_hot_sell"/> -->
        <!-- 左侧菜start -->
        <div class="col-xs-2">            
          <include file="Public/sidebar"  />
        </div>
        <!-- 左侧菜end -->
  <!--内容栏start-->
  <div class="col-md-10 col-xs-8 content"> 
       <ul class="nav nav-tabs">
           <li><a href="{:U('Index/indexCourse')}"><i class="icon icon-th-large"> </i>校本课程管理</a></li>
           <li><a href="{:U('Index/xbDocFiles')}"><i class="icon icon-th-large"> </i>课程资料库</a></li>
           <li  class="active"><a href="{:U('Student/classscore')}"><i class="icon icon-th-large"> </i>学生成绩</a></li>
       </ul>

       <div class="col-md-4">
         <h2 class="red"><a href="__SELF__" >学员成绩查询</a> </h2> 
       </div>
       
        <div class="col-md-4"><h4>只能查询已经归档整理的学生成绩<h4></div>
        <div class="clearfix"></div>
       <div class="col-md-2 col-xs-3">
       <form class="form-horizontal form-condensed" role="form" action="" name="cid" method="post">
        
        <select name="bj_name" class="form-control" onchange="this.form.submit()">
                <option value = "{$_cur.bj_name}">{$_cur.bj_name}</option>                
               <foreach name="classlist" item="vo">
                <option value="{$vo.bj_name}">{$vo.bj_name}</option>
                </foreach>
            </select>
            </form>
            </div>
        <div class="clearfix"></div>
        <div class="col-md-12 col-xs-10">
        <table class="table table-bordered table-striped" style="text-align:center;">
         <thead>
           <tr class="blue">
            <!-- <th>序号</th> -->
            <th class="blue text-center">班级</th>            
            <th class="blue">学号</th>
            <th class="blue">姓名</th>
            <th class="blue">性别</th>
            <th class="blue">校本课程</th>
            <th class="blue">教师</th>
            <th class="blue">成绩</th>
            <th class="blue">优秀学员</th>
            <th class="blue text-center">更新日期</th>
           </tr>  
           </thead>
        <volist name="student" id="st" >
        <tr >
            <!-- <td>{$i}</td> -->
            <td>{$st.class}</td>
			<td>{$st.code}</td>
            <td>{$st.name}</td>
            <td>{$st.sex}</td>
            <td>{$st.cname}</td>
            <td>{$st.teacher}</td>
			<td width="10%">{$st.score}</td>
			<td width="10%"><if condition="$st.outstand eq 1">是</if></td>
			<td>
            <if condition="($st.scoreuptime eq 0)"> &nbsp <else/>
                  {$st.scoreuptime|date='Y-m-d',###}</if>
                  </td>
            </tr>
        </volist>
		


        </table>

    </div>
</block>